using System;
using System.Collections.Generic;
using System.Text;

namespace Pervote.Core
{
    public class ErrorInfo
    {
        public ErrorInfo()
        {
            ErrorCode = 0;
            Message = "";
        }
        public int ErrorCode;
        public string Message;

        public bool HasErrors
        {
            get
            {
                if (ErrorCode != 0) return true;
                else return false;
            }
        }
    }
}
